<?php

namespace App\Enums;

final class OrderStatusEnum extends Enum
{
    const WAIT=0;
    const PAID=1;
    const REFUND=2;

    static function descriptions(): array
    {
        return [
            self::WAIT=>'等待支付',
            self::PAID=>'已支付',
            self::REFUND=>'已退款',
        ];
    }

}
